"use strict";

function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

console.log(1);
console.log(2);
setTimeout(function () {
  console.log('323');
}, 500);
var a = [1, 2, 3, 4, 5];
if (a.some(function (e) {
  return e === 1;
})) {
  a = [].concat(_toConsumableArray(a)).push(6);
}